package com.zpark.se.io.output;

import java.io.FileOutputStream;
import java.io.OutputStream;

/**
 * @PackageName: com.zpark.se.io.output
 * @ClassName: Demo03
 * @Description:
 * @author: RZS
 * @date: 2024/11/19  17:42
 */
public class Demo03 {
    public static void main(String[] args) throws Exception {
        // 将数据写入文件当中
        String path = "src/com/zpark/se/io/output/f/b.txt";
        // 创建文件输出流对象
        OutputStream out = new FileOutputStream(path);

        // 准备写入的数据
        //String s = "";
        // 写入输入
        //out.write(s.getBytes("utf-8"));


        // 关闭文件
        out.close();
    }
}
